#include <system/MemoryLeaks.h>

#ifdef VLD_DETECT_LEAKS
#include <vld.h>
#endif

namespace liba {
namespace system {
#ifdef VLD_DETECT_LEAKS
void EnableLeakDetection(bool enable)
{
	if (enable)
		VLDEnable();
	else
		VLDDisable();
}
#else
void EnableLeakDetection(bool enable)
{
}
#endif
} // namespace system
} // namespace liba 